﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Meraz.Core.Model;
using Meraz.Core.Data;

namespace Meraz.Core.Repositories
{
    public interface IBlogStudyRepository : IStudyRepository<BlogStudy>
    {
        void Save(IEnumerable<BlogStudy> blogStudies);
        IEnumerable<BlogStudy> GetByStudy(string studyID);
    }
    public class BlogStudyRepository : EFRepositoryBase<BlogStudy, int>, IBlogStudyRepository
    {
        public BlogStudyRepository() { }


        public override BlogStudy GetById(int id)
        {
            throw new NotImplementedException();
        }
        public BlogStudy GetByName(string name)
        {
            throw new NotImplementedException();
        }
        public List<BlogStudy> GetByUserName(string username)
        {
            throw new NotImplementedException();
        }

        public override void Add(BlogStudy entity)
        {
            throw new NotImplementedException();
        }

        public override void Delete(BlogStudy entity)
        {
            throw new NotImplementedException();
        }

        public override List<BlogStudy> All()
        {
            throw new NotImplementedException();
        }

        #region IBlogStudyRepository Members

        public void Save(IEnumerable<BlogStudy> blogStudies)
        {
            throw new NotImplementedException();
        }

        public IEnumerable<BlogStudy> GetByStudy(string studyID)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
